package com.xuecheng.teaching.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.api.teaching.model.dto.CourseWorkRecDTO;
import com.xuecheng.api.teaching.model.dto.WorkDTO;
import com.xuecheng.api.teaching.model.dto.WorkRecordDTO;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import com.xuecheng.teaching.entity.CourseWorkRec;
import com.xuecheng.teaching.entity.Work;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author itcast
 * @since 2021-04-20
 */
public interface CourseWorkRecService extends IService<CourseWorkRec> {

    /**
     * 分页查询作业
     * @param pageRequestParams
     * @param courseName
     * @param companyId
     * @return
     */
    PageVO<CourseWorkRecDTO> queryWorkToPreview(PageRequestParams pageRequestParams, String courseName, Long companyId);

}
